/*           Copyright(c) 2005-2008 Dave Sexton            *
 *                   HtmlEditor Control                    *
 * http://www.codeplex.com/DocProject/Project/License.aspx *
 ***********************************************************/
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms.Design;
using System.Windows.Forms;

namespace DaveSexton.Controls.Design
{
	internal sealed class TemplateUrlEditor : FileNameEditor
	{
		protected override void InitializeDialog(OpenFileDialog openFileDialog)
		{
			base.InitializeDialog(openFileDialog);

			openFileDialog.Title = "Browse To: Html Editor Template";
			openFileDialog.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
			openFileDialog.CheckFileExists = true;
			openFileDialog.Filter = "Html Files (*.htm;*.html)|*.htm,*.html|Xml Files (*.xml)|*.xml|All Files (*.*)|*.*";
		}
	}
}
